@charset "utf-8";

/* -------------------- GLOBAL -------------------- */
html, body {
  margin: 0;
  padding: 0;
  font-family: roboto, sans-serif;
  background:
    linear-gradient(to bottom,
      rgba(2,77,43,0.85),
      rgba(1,51,26,0.85),
      rgba(1,38,19,0.85)),
    url("images/seattlenight.webp") no-repeat center center fixed;
  background-size: cover;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* -------------------- SITE TITLE -------------------- */
.site-title {
  background: linear-gradient(to right, #000000, #01331a, #004d26);
  text-align: center;
  padding: 20px;
}
.site-title h1 {
  margin: 0;
  font-size: 2.5em;
  letter-spacing: 1px;
}

/* -------------------- NAVIGATION -------------------- */
nav {
  background: linear-gradient(to right, #aaaaaa, #cccccc, #eeeeee);
  text-align: center;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav a {
  color: #000;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
  color: #1faa59;
}

/* -------------------- CONTENT -------------------- */
.content {
  flex: 1;
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

/* -------------------- BLOG INDEX -------------------- */
.blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 20px;
}
.blog-link:hover .blog-entry {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.blog-entry {
  display: flex;
  gap: 20px;
  background: rgba(0,0,0,0.6);
  padding: 20px;
  border: 3px solid #00e676;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-wrap: wrap;
}

/* -------------------- THUMBNAIL -------------------- */
.blog-thumbnail {
  flex: 0 0 200px;
}
.blog-thumbnail img {
  width: 100%;
  border-radius: 10px;
  border: 3px solid #00e676;
  box-shadow: 0 4px 12px rgba(0,230,118,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-thumbnail img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,230,118,0.7);
}

/* -------------------- BLOG TEXT -------------------- */
.blog-text {
  flex: 1;
}
.blog-text h3 {
  color: #00e676;
  margin-top: 0;
}
.blog-date {
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 10px;
}

/* -------------------- POST CONTAINER -------------------- */
.post-container {
  background: rgba(0,0,0,0.6);
  padding: 40px;
  border-radius: 16px;
  border: 3px solid #00e676;
  max-width: 850px;
  margin: auto;
}

/* Labels & Titles */
.section-label {
  color: #00e676;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}
.post-title {
  font-size: 2.4em;
  margin: 8px 0 16px;
  line-height: 1.2;
}

/* Meta */
.post-meta {
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 20px;
}

/* Lede */
.lede {
  font-size: 1.2em;
  line-height: 1.9;
  margin-bottom: 1.8em;
}

/* Headings */
.post-container h2 {
  font-size: 1.5em;
  color: #00e676;
  margin-top: 30px;
}

/* Featured Image */
.blog-full-image {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  border: 3px solid #00e676;
  box-shadow: 0 4px 15px rgba(0,230,118,0.4);
  margin: 20px 0;
}

/* -------------------- RELATED POSTS -------------------- */
.related-posts {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
}
.related-posts h3,
.related-posts a {
  color: #00e676;
}
.related-posts a:hover {
  text-decoration: underline;
}

/* -------------------- FOOTER -------------------- */
footer {
  margin-top: auto;
  text-align: center;
}

footer h3 {
  background: linear-gradient(to right, #000000, #01331a, #004d26);
  padding: 12px 0;
  margin: 0;
}

.footer-links {
  background: linear-gradient(to right, #aaaaaa, #cccccc, #eeeeee);
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.footer-links a:hover {
  color: #1faa59;
  text-decoration: underline;
}

/* -------------------- READABILITY -------------------- */
p {
  line-height: 1.85;
  margin-bottom: 1.6em;
}
footer {
  margin-top: auto;
}

